package com.bsoft.gol.editor.service;

import hcn.util.BaseResponse;
import com.bsoft.gol.editor.editor.EditorQuestionnaireOfficial;

import java.util.List;

/**
 * @program: Myproject
 * @description:
 * @author: zangsf
 * @create: 2022-12-08 15:34
 **/
public interface EditorQuestionnaireOfficialApi {

    /* *
     * @description :查询文案列表
     * @author      :zangsf
     * @date        :2022-12-08 15:38
     * @param       :[questionnaireId]
     * @return      :java.util.List<com.bsoft.gol.editor.editor.EditorQuestionnaireOfficial>
     */
    BaseResponse<List<EditorQuestionnaireOfficial>> queryEditorQuestionnaireOfficialList(EditorQuestionnaireOfficial qo);

    /* *
     * @description :删除这个问卷的所有文案
     * @author      :zangsf
     * @date        :2022-12-08 15:46
     * @param       :[qo]
     * @return      :com.bsoft.gol.editor.editor.BaseResponse
     */
    BaseResponse removeEditorQuestionnaireOfficial(EditorQuestionnaireOfficial qo);

    /* *
     * @description :给表单添加文案
     * @author      :zangsf
     * @date        :2022-12-08 15:47
     * @param       :[qos]
     * @return      :com.bsoft.gol.editor.editor.BaseResponse
     */
    BaseResponse addEditorQuestionnaireOfficial(EditorQuestionnaireOfficial qo);

}
